DX11 BUILD WINDOW STYLE

This is a convenience function to build a window style bitmask for use with the DX11 INIT and DX11 SET WINDOW STYLE functions from
a set of common boolean flags.
More complex window styles are possible and can be created by bitwise-OR:ing together the values listed
here at MSDN (the bitwise OR operator in DBPro is ||, double pipe characters).
Take note that certain parameters are dependent on each others. For example, a window without a title bar cannot have title bar buttons, and a window without title bar buttons cannot
have maximize/minimize buttons (if the window has title bar buttons it must at the very least have a close button). Likewise, a window must have borders to have resizeable (draggable)
borders.

  Syntax
Return Dword = DX11 BUILD WINDOW STYLE(isVisible, hasTitleBar, hasBorders, hasResizeableBorders, hasTitleBarButtons, hasMaximizeButton, hasMaximizeButton)
  Parameters
isVisible
Boolean
Set to true to make the window visible, or false to make it hidden.
hasTitleBar
Boolean
The window style will have a title bar if this is set to true, or not if set to false.
hasBorders
Boolean
The window style will have borders around the window if this is set to true, or not if set to false. If hasTitleBar is true, the style must also have borders.
hasResizeableBorders
Boolean
The window style will have resizeable (draggable) borders that can be used to resize the window. This parameter is ignored if hasBorders is set to false.
hasTitleBarButtons
Boolean
The window style will have control buttons in the right corner of the title bar. This value is ignored if hasTitleBar is set to false.
hasMaximizeButton
Boolean
The window will have a maximize button if this is set to true, or not if set to false. This value is ignored if hasTitleBar and/or hasTitleBarButtons is false.
hasMaximizeButton
Boolean
The window will have a minimize button if this is set to true, or not if set to false. This value is ignored if hasTitleBar and/or hasTitleBarButtons is false.

  Returns

A bitmask representing a style having the settings specified by the boolean flag parameters. This can be used as input to DX11 INIT and DX11 SET WINDOW STYLE.

  See also

DISPLAY Functions Menu
DX11 Function Categories